using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

namespace Bamboo.Core.Common.Storage
{
    public abstract class StorageProvider
    {
        public abstract List<string> List(string path);
        public abstract List<string> List(string path, string fillter);
        public abstract bool Upload(string src, string dest);
        public abstract bool Download(string src, string dest);
        public abstract Stream Download(string src);
        public abstract string GetDestinationDirectory();
        public abstract bool Delete(string path);
        public abstract bool MakeDir(string path);
        public abstract bool CanRead();
        public abstract bool CanWrite();
        public abstract bool CanList();
        public abstract bool CanDelete();
    }
}
